package com.wlyuan.open.api;

import com.wlyuan.open.dto.api.OpenApiDocFilterDTO;
import com.wlyuan.open.vo.OpenApiDocDetailVO;
import com.wlyuan.open.vo.OpenApiDocVO;

import java.util.List;

/**
 * @author lijing
 */
public interface IOpenApiDocService {

    /**
     * 获取文档所有api
     *
     * @return
     */
    List<OpenApiDocVO> getApiDocList(OpenApiDocFilterDTO filter);

    /**
     * 获取文档内容
     *
     * @return
     */
    OpenApiDocDetailVO getByApiId(Long apiId);
}
